package com.apexsoft.monitor.front.console.scheme.om;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * 链路
 */
@TableName("t_link")
public class Link {
    @TableId(type = IdType.AUTO)
    private int id;
    /**
     * 开始节点
     */
    @TableField(value = "start_node")
    private String startNode;
    /**
     * 结束节点
     */
    @TableField(value = "end_node")
    private String endNode;
    /**
     * 拓扑图方案
     */
    @TableField(value = "scheme_code")
    private String schemeCode;
    /**
     * 链路编号
     */
    @TableField(value = "link_code")
    private String linkCode;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStartNode() {
        return startNode;
    }

    public void setStartNode(String startNode) {
        this.startNode = startNode;
    }

    public String getEndNode() {
        return endNode;
    }

    public void setEndNode(String endNode) {
        this.endNode = endNode;
    }

    public String getSchemeCode() {
        return schemeCode;
    }

    public void setSchemeCode(String schemeCode) {
        this.schemeCode = schemeCode;
    }

    public String getLinkCode() {
        return linkCode;
    }

    public void setLinkCode(String linkCode) {
        this.linkCode = linkCode;
    }


}
